Today we will use a loop and a list to create a word guessing game!

  • Click Run to play the game.
  • Go into the code and change the value of secret_word to a 3-letter word. Then try a 4-letter word.
  • When you're done click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)